<?php

/*
 * 客户端
 */
include_once 'creator.php';
include_once 'product.php';

class Client {

    public function __construct() {
        echo 'We have a new product<br>';

        $TextFactory = new CountryFactory();
        echo $TextFactory->startFactory(new textProduct());

        $VideoFactory = new CountryFactory();
        echo $VideoFactory->startFactory(new videoProduct());
    }

}
